package com.taobao.tql.bean;

public class TqlParserBean {

	private String tabName = null;
	private String where = null;
	private String fromItem = null;
	private String exception = null;
	public String getException() {
		return exception;
	}
	public void setException(String exception) {
		this.exception = exception;
	}
	public String getTabName() {
		return tabName;
	}
	public void setTabName(String tabName) {
		this.tabName = tabName;
	}
	public String getWhere() {
		return where;
	}
	public void setWhere(String where) {
		this.where = where;
	}
	public String getFromItem() {
		return fromItem;
	}
	public void setFromItem(String fromItem) {
		this.fromItem = fromItem;
	}
	
	public String toString() {
		return new StringBuilder().append(getTabName())
		.append(";")
		.append(getWhere())
		.append(";")
		.append(getFromItem())
		.append(";")
		.append(getException()).toString();
	}
}
